package com.dyb.springcloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * 容器接口
 * @author dengyubin
 * @date 2020-05-02
 */
public interface LoadBalancer {
    /**
     * 轮询机制
     * @param serviceInstanceList
     * @return ServiceInstance the Entity
     */
    ServiceInstance serviceInstance(List<ServiceInstance> serviceInstanceList);
}
